﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Example_UML_01
{
    public abstract class vehice
    {
        private String name;
        public vehice()
        {
        }
        public override String go()
        {
            return "";
        }
        public Boolean isEngineOn()
        {
            return false;
        }

        public void startEngine()
        {
        }
        public void stopEngine()
        {
        }
        public string getName()
        {
            return "";
        }
    }

    public class Car : vehice
    {
        public Car()
        {
        }
        public override String go()
        {
            return "";
        }
    }
    public class Person
    {

        public void addvehice(vehice v)
        {
        }
    }
    interface ICargoTransport
    {
        void loadCargo();
    }
    public class Truck : vehice, ICargoTransport
    {
        public Truck()
        {
        }
        public String go()
        {
            return "";
        }
        public void loadCargo()
        {
        }
    }
    public class Engine
    {
        public Boolean is0n()
        {
            return false;
        }
        public void start()
        {
        }
        public void stop()
        {
        }

    }

    class Program
    {
        static void Main(string[] args)
        {
        }
    }
}
